package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_fnpage_optimize")
@Table(appliesTo = "mb_fnpage_optimize", comment = "规则引擎-页面规则优化表")
public class FNPageOptimize extends BaseModel implements Serializable {

	private static final long serialVersionUID = -9038016126128248635L;

	/**
	 * 流程ID
	 */
	@ApiModelProperty(value = "流程ID")
	@Column(name = "flow_id", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '流程ID'")
	private String flowId;

	/**
	 * 节点
	 */
	@ApiModelProperty(value = "节点")
	@Column(name = "node_id", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '节点'")
	private String nodeId;

	/**
	 * 参数名称
	 */
	@ApiModelProperty(value = "参数名称")
	@Column(name = "param_name", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '参数名称'")
	private String paramName;

	/**
	 * 参数运算符
	 */
	@ApiModelProperty(value = "参数运算符")
	@Column(name = "param_operator", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '参数运算符'")
	private String paramOperator;

	/**
	 * 参数值
	 */
	@ApiModelProperty(value = "参数值")
	@Column(name = "param_value", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '参数值'")
	private String paramValue;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@Column(name = "remark", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备注'")
	private String remark;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;

	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;

}
